<?php echo js('settings.js');?>
<?php $this->load->view('admin/partials/notices') ?>
<div class="post">
		<div class="post_title">
			<h1>基本設置</h1>
		</div>
		<div class="post_body">

			<p>你可以設置網站信息.</p>
				
								
								<table width="100%">
				<tr>
					 <td colspan="2">
					 	<fieldset id="general_settings">
					 		<legend>設置</legend>
					 				<form action="<?php echo site_url('admin/settings/edit');?>" method="post">		
					 		<table>
					 			<?php foreach($settings as $setting): ?>
							<tr>
		
							 			<td width="200px"><?php if(lang('settings_'.$setting->slug)!=''){echo lang('settings_'.$setting->slug);}else{echo $setting->title;}?></td>
							 				<td><?php echo $setting->form_control; ?></td>
							<tr>
							<?php endforeach; ?>
					 		</table>
					 	</fieldset>
					 </td>
				</tr>
				<tr>

				<tr>
					 <td colspan="2">&nbsp;</td>

				</tr>
				<tr>
					 <td colspan="2">&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" name="submit" value="保存 &rsaquo;&rsaquo;" class="styled" />
						<input type="hidden" name="module_setting" value="<?php echo $module_setting;?>">
						</form>					</td>

				</tr>
				</table>
		</div>
</div>